import { createApp } from 'vue'
import App from './App.vue'
import axios from 'axios'
import router from './router/router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import store from './store/index'
import locale from 'element-plus/lib/locale/lang/zh-cn'  // 表单日历设置为中文

// createApp(App).mount('#app')
const app = createApp(App)
app.use(ElementPlus,{locale}).use(router).use(store).mount('#app')
app.config.globalProperties.$axios = axios
